Skip to content

Conversation

@jedevc
Copy link
Collaborator

@jedevc jedevc commented May 10, 2023

🛠️ Fixes #1640 (comment).

This is a bit of a hack for now, but this allows us to debug multi-platform results.

On a success, the first entry in the result's platform metadata key is selected, on a failure, the platform which encountered an error is selected.

@jedevc jedevc added this to the v0.11.0 milestone May 10, 2023
@jedevc jedevc requested review from ktock and tonistiigi May 10, 2023 10:45
@jedevc jedevc assigned jedevc and unassigned jedevc May 10, 2023
Comment on lines -209 to -227
imgRef, err := c.Solve(ctx, gateway.SolveRequest{
Definition: def.ToPB(),
})
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ktock I'm not quite sure if I'm missing something here - I don't think this second evaluation is necessary?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think it's not necessary.

Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc jedevc force-pushed the debug-multi-platform branch from 00a2fc8 to 45fccef Compare May 11, 2023 08:46
@jedevc jedevc merged commit 32009a7 into docker:master May 11, 2023
@jedevc jedevc deleted the debug-multi-platform branch May 11, 2023 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants